package com.wlyuan.open.scanner.utils.enums.transport.combine;

import lombok.Getter;

/**
 * @author lijing
 * @Description 运单合单标识
 */
@Getter
public enum CombinedMarkEnum {

    /**
     * 否
     */
    NO_DISMANTLE("否", 0),
    /**
     * 是
     */
    COMBINE_ORDER("是", 1);

    private Integer value;
    private String name;

    CombinedMarkEnum(String name, Integer value) {
        this.value = value;
        this.name = name;
    }

    public static boolean isCombine(Integer val) {
        return COMBINE_ORDER.getValue().equals(val);
    }

}